<div class="layui-container fly-marginTop fly-user-main">
  <!-- 会员中心的菜单 -->
  <ul class="layui-nav layui-nav-tree layui-inline" id="nav" lay-filter="user">
    <li class="layui-nav-item">
      <a href="{:url('home/user/index')}">
        <i class="layui-icon">&#xe609;</i>
        我的主页
      </a>
    </li>
    <li class="layui-nav-item">
      <a href="{:url('home/user/profile')}">
        <i class="layui-icon">&#xe620;</i>
        基本设置
      </a>
    </li>
    <li class="layui-nav-item">
      <a href="{:url('home/post/index')}">
        <i class="layui-icon">&#xe6fb;</i>
        我的帖子
      </a>
    </li>
    <li class="layui-nav-item">
      <a href="{:url('home/post/collect')}">
        <i class="layui-icon">&#xe83c;</i>
        我的收藏
      </a>
    </li>
    <li class="layui-nav-item layui-this">
      <a href="{:url('home/user/record')}">
        <i class="layui-icon">&#xe702;</i>
        积分消费记录
      </a>
    </li>
  </ul>

  <div class="site-tree-mobile layui-hide">
    <i class="layui-icon">&#xe602;</i>
  </div>
  <div class="site-mobile-shade"></div>
  
  <div class="site-tree-mobile layui-hide">
    <i class="layui-icon">&#xe602;</i>
  </div>
  <div class="site-mobile-shade"></div>
  
  
  <div class="fly-panel fly-panel-user" pad20>
	  <div class="layui-tab layui-tab-brief" lay-filter="user" id="LAY_msg" style="margin-top: 15px;">
	    <div id="LAY_minemsg" style="margin-top: 10px;">
        <table class="layui-table" lay-even="" lay-skin="row">
          <colgroup>
            <col width="500">
            <col width="100">
            <col width="200">
            <col width="100">
          </colgroup>
          <thead>
            <tr>
              <th>消费详情</th>
              <th>消费状态</th>
              <th>消费时间</th>
              <th>变化的积分</th>
            </tr> 
          </thead>
          <tbody>
            {foreach $recordlist as $item}
            <tr>
              <td>{$item.content}</td>
              <td>{$item.state_text}</td>
              <td>{$item.createtime}</td>
              <td>{$item.point}</td>
            </tr>
            {/foreach}
          </tbody>
        </table>
        <div class="LAY_page">
          {$pagestr}
        </div>
      </div>
	  </div>
	</div>
</div>